﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace ZGameFramework.UI
{

    internal  interface IUIManager
    {

        /// <summary>
        /// 设置窗口管理信息
        /// </summary>
        /// <param name="uiFormInfoManager"></param>
        void SetUIFormInfoManager(IUIFormInfoManager uiFormInfoManager);

        /// <summary>
        /// 设置UIResourceManager
        /// </summary>
        /// <param name="uIResourceManager"></param>
        void SetUIResourceManager(IUIResourceManager uiResourceManager);


        /// <summary>
        /// 打开界面
        /// </summary>
        void OpenPanel(string panelName, GameFrameworkParam param = null);

        /// <summary>
        /// 关闭界面
        /// </summary>
        void ClosePanel(string panelName);
    }

}
